project(x_log)
cmake_minimum_required(VERSION 2.6)
SET(CMAKE_CXX_FLAGS "-ggdb3 -Wall -shared -fPIC")

set(SRC_DIR x_log.cpp x_logfile.cpp x_logger.cpp x_logstream.cpp)
set(INC_DIR x_log.h x_logfile.h x_logger.h x_logstream.h
        x_log.cpp)

add_definitions(-std=c++14)
add_library(x_log STATIC ${INC_DIR} ${SRC_DIR})